package com.example.demo.mapper;

import com.example.demo.entity.AfoneshopAd;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

/**
 * <p>
 * 广告 Mapper 接口
 * </p>
 *
 * @author Mr.Xiayh
 * @since 2024-06-16
 */
@Mapper
public interface AfoneshopAdMapper extends BaseMapper<AfoneshopAd> {
    @Select("select count(*) from AFoneshop_ad")
    int queryTotal(Map<String, Object> map);
}
